package com.study.extend_constructor;

public class Teacher extends Person{

    public Teacher(){
        System.out.println("子类无参构造器");
    }
    public Teacher(int age){
        System.out.println("子类有参构造器");
    }
}
